import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  { path: '/', component: () => import('../pages/Login.vue') },
  { path: '/student', component: () => import('../pages/Student.vue') },
  { path: '/teacher', component: () => import('../pages/Teacher.vue') },
  { path: '/course', component: () => import('../pages/Course.vue') }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
